using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;
using BySoft.Server.Common.Schema;

namespace BySoft.Server.Common.Entity
{
	[Serializable]
	public class BsPlandetailEntity : EntityBase
	{
		public BsPlandetailTable TableSchema
		{
			get
			{
				return (BsPlandetailTable)_tableSchema;
			}
		}

		public BsPlandetailEntity()
		{
			_tableSchema = BsPlandetailTable.Current;
		}

		#region 属性列表
		
		public Decimal? PlanDetailID
		{

			
			get{ return GetData<Decimal>(BsPlandetailTable.C_PLANDETAILID); }
			
			
			set{ SetData(BsPlandetailTable.C_PLANDETAILID, value); }
		}

		
		public String PlanID
		{

							
			get{ return Convert.ToString(GetData(BsPlandetailTable.C_PLANID));} 

			
			set{ SetData(BsPlandetailTable.C_PLANID, value); }
		}

		
		public Decimal? BOMDetailID
		{

			
			get{ return GetData<Decimal>(BsPlandetailTable.C_BOMDETAILID); }
			
			
			set{ SetData(BsPlandetailTable.C_BOMDETAILID, value); }
		}

		
		public String MaterialID
		{

							
			get{ return Convert.ToString(GetData(BsPlandetailTable.C_MATERIALID));} 

			
			set{ SetData(BsPlandetailTable.C_MATERIALID, value); }
		}

		
		public Decimal? TotalNum
		{

			
			get{ return GetData<Decimal>(BsPlandetailTable.C_TOTALNUM); }
			
			
			set{ SetData(BsPlandetailTable.C_TOTALNUM, value); }
		}

		
		public Decimal? TotalWeight
		{

			
			get{ return GetData<Decimal>(BsPlandetailTable.C_TOTALWEIGHT); }
			
			
			set{ SetData(BsPlandetailTable.C_TOTALWEIGHT, value); }
		}

		
		public DateTime? ExpectDate
		{

			
			get{ return GetData<DateTime>(BsPlandetailTable.C_EXPECTDATE); }
			
			
			set{ SetData(BsPlandetailTable.C_EXPECTDATE, value); }
		}

		
		public DateTime? ActualDate
		{

			
			get{ return GetData<DateTime>(BsPlandetailTable.C_ACTUALDATE); }
			
			
			set{ SetData(BsPlandetailTable.C_ACTUALDATE, value); }
		}

		
		#endregion
	}
}

